package org.example.pojo.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.configuration.CustomerDoubleSerialize;

@Data
@EqualsAndHashCode
public class AmountDownload {
    @ExcelProperty("月份")
    private String vmonth;

    @ExcelIgnore
    @ExcelProperty("房间号")
    private String room;

    @ExcelProperty("员工工号")
    private String staff;

    @ExcelProperty("员工姓名")
    private String staffName;

    @ExcelProperty("水费")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double shui;

    @ExcelProperty("电费")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double dian;

    @ExcelProperty("热水费")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double reshui;

    @ExcelProperty("合计费用")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private Double amount;


}
